// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(Element)

import 'lib-flexible/flexible.js'

import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, axios)

import MetaInfo from 'vue-meta-info'
 
Vue.use(MetaInfo)

import VueAwesomeSwiper from 'vue-awesome-swiper'
Vue.use(VueAwesomeSwiper)
import 'swiper/css/swiper.css'

import jsCookie from 'js-cookie'
Vue.prototype.$cookie = jsCookie;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  render: h => h(App)
});